package com.ruoyi.basicData.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商管理对象 supplier_master_data
 * 
 * @author admin
 * @date 2024-06-27
 */
public class SupplierMasterData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商id */
    private Long supplierId;

    /** 对方els账号 */
//    @Excel(name = "对方els账号")
    private String opposingElsAccount;

    /** 供应商名称 */
    @Excel(name = "供应商名称",sort = 1)
    private String supplierName;

    /** 供应商地址 */
    @Excel(name = "供应商地址",sort = 4)
    private String supplierAddress;

    /** 联系电话 */
    @Excel(name = "联系电话",sort = 3)
    private String vendorCode;

    /** 供应商状态 */
    @Excel(name = "供应商状态")
    private String supplierStatus;

    /** 联系人 */
    @Excel(name = "联系人",sort = 2)
    private String whetherCooperate;

    /** 来源类型 */
//    @Excel(name = "来源类型")
    private String sourceType;

    /** 供应商简介 */
    @Excel(name = "供应商简介")
    private String supplierType;

    /** 供应商等级 */
    @Excel(name = "供应商等级",sort = 5)
    private String supplierLevel;

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId()
    {
        return supplierId;
    }
    public void setOpposingElsAccount(String opposingElsAccount)
    {
        this.opposingElsAccount = opposingElsAccount;
    }

    public String getOpposingElsAccount()
    {
        return opposingElsAccount;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setSupplierAddress(String supplierAddress) 
    {
        this.supplierAddress = supplierAddress;
    }

    public String getSupplierAddress() 
    {
        return supplierAddress;
    }
    public void setVendorCode(String vendorCode)
    {
        this.vendorCode = vendorCode;
    }

    public String getVendorCode()
    {
        return vendorCode;
    }
    public void setSupplierStatus(String supplierStatus) 
    {
        this.supplierStatus = supplierStatus;
    }

    public String getSupplierStatus() 
    {
        return supplierStatus;
    }
    public void setWhetherCooperate(String whetherCooperate) 
    {
        this.whetherCooperate = whetherCooperate;
    }

    public String getWhetherCooperate() 
    {
        return whetherCooperate;
    }
    public void setSourceType(String sourceType) 
    {
        this.sourceType = sourceType;
    }

    public String getSourceType() 
    {
        return sourceType;
    }
    public void setSupplierType(String supplierType) 
    {
        this.supplierType = supplierType;
    }

    public String getSupplierType() 
    {
        return supplierType;
    }
    public void setSupplierLevel(String supplierLevel) 
    {
        this.supplierLevel = supplierLevel;
    }

    public String getSupplierLevel() 
    {
        return supplierLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("opposingElsAccount", getOpposingElsAccount())
            .append("supplierName", getSupplierName())
            .append("supplierAddress", getSupplierAddress())
            .append("vendorCode", getVendorCode())
            .append("supplierStatus", getSupplierStatus())
            .append("whetherCooperate", getWhetherCooperate())
            .append("sourceType", getSourceType())
            .append("supplierType", getSupplierType())
            .append("supplierLevel", getSupplierLevel())
            .toString();
    }
}
